Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

Q is empty.


QTRS
  ↳ AAECC Innermost

Q restricted rewrite system:
The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

Q is empty.

We have applied [19,8] to switch to innermost. The TRS R 1 is

min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
min(0, y) → 0

The TRS R 2 is

f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The signature Sigma is {f}

↳ QTRS
  ↳ AAECC Innermost
QTRS
      ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))


Using Dependency Pairs [1,15] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

-1(s(x), s(y)) → -1(x, y)
F(s(x), s(y)) → MAX(s(x), s(y))
F(s(x), s(y)) → P(twice(min(x, y)))
MIN(s(x), s(y)) → MIN(x, y)
F(s(x), s(y)) → TWICE(min(x, y))
TWICE(s(x)) → TWICE(x)
MAX(s(x), s(y)) → MAX(x, y)
F(s(x), s(y)) → MIN(s(x), s(y))
F(s(x), s(y)) → -1(max(s(x), s(y)), min(s(x), s(y)))
F(s(x), s(y)) → MIN(x, y)
F(s(x), s(y)) → F(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
QDP
          ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

-1(s(x), s(y)) → -1(x, y)
F(s(x), s(y)) → MAX(s(x), s(y))
F(s(x), s(y)) → P(twice(min(x, y)))
MIN(s(x), s(y)) → MIN(x, y)
F(s(x), s(y)) → TWICE(min(x, y))
TWICE(s(x)) → TWICE(x)
MAX(s(x), s(y)) → MAX(x, y)
F(s(x), s(y)) → MIN(s(x), s(y))
F(s(x), s(y)) → -1(max(s(x), s(y)), min(s(x), s(y)))
F(s(x), s(y)) → MIN(x, y)
F(s(x), s(y)) → F(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 5 SCCs with 6 less nodes.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
QDP
                ↳ UsableRulesProof
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

-1(s(x), s(y)) → -1(x, y)

The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [15] we can delete all non-usable rules [17] from R.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
                ↳ UsableRulesProof
QDP
                    ↳ QReductionProof
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

-1(s(x), s(y)) → -1(x, y)

R is empty.
The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
QDP
                        ↳ QDPSizeChangeProof
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

-1(s(x), s(y)) → -1(x, y)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
QDP
                ↳ UsableRulesProof
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

TWICE(s(x)) → TWICE(x)

The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [15] we can delete all non-usable rules [17] from R.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
QDP
                    ↳ QReductionProof
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

TWICE(s(x)) → TWICE(x)

R is empty.
The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
QDP
                        ↳ QDPSizeChangeProof
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

TWICE(s(x)) → TWICE(x)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
QDP
                ↳ UsableRulesProof
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MAX(s(x), s(y)) → MAX(x, y)

The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [15] we can delete all non-usable rules [17] from R.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
QDP
                    ↳ QReductionProof
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MAX(s(x), s(y)) → MAX(x, y)

R is empty.
The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
QDP
                        ↳ QDPSizeChangeProof
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MAX(s(x), s(y)) → MAX(x, y)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
QDP
                ↳ UsableRulesProof
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN(s(x), s(y)) → MIN(x, y)

The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [15] we can delete all non-usable rules [17] from R.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
QDP
                    ↳ QReductionProof
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN(s(x), s(y)) → MIN(x, y)

R is empty.
The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
QDP
                        ↳ QDPSizeChangeProof
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN(s(x), s(y)) → MIN(x, y)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
QDP
                ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F(s(x), s(y)) → F(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The TRS R consists of the following rules:

min(0, y) → 0
min(x, 0) → 0
min(s(x), s(y)) → s(min(x, y))
max(0, y) → y
max(x, 0) → x
max(s(x), s(y)) → s(max(x, y))
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), s(y)) → f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [15] we can delete all non-usable rules [17] from R.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
QDP
                    ↳ QReductionProof

Q DP problem:
The TRS P consists of the following rules:

F(s(x), s(y)) → F(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))
f(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

f(s(x0), s(x1))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
QDP
                        ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(x), s(y)) → F(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x), s(y)) → F(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y)))) at position [0,0] we obtained the following new rules:

F(s(x), s(y)) → F(-(s(max(x, y)), min(s(x), s(y))), p(twice(min(x, y))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
QDP
                            ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(x), s(y)) → F(-(s(max(x, y)), min(s(x), s(y))), p(twice(min(x, y))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x), s(y)) → F(-(s(max(x, y)), min(s(x), s(y))), p(twice(min(x, y)))) at position [0,1] we obtained the following new rules:

F(s(x), s(y)) → F(-(s(max(x, y)), s(min(x, y))), p(twice(min(x, y))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
QDP
                                ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(x), s(y)) → F(-(s(max(x, y)), s(min(x, y))), p(twice(min(x, y))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x), s(y)) → F(-(s(max(x, y)), s(min(x, y))), p(twice(min(x, y)))) at position [0] we obtained the following new rules:

F(s(x), s(y)) → F(-(max(x, y), min(x, y)), p(twice(min(x, y))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
QDP
                                    ↳ Narrowing

Q DP problem:
The TRS P consists of the following rules:

F(s(x), s(y)) → F(-(max(x, y), min(x, y)), p(twice(min(x, y))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule F(s(x), s(y)) → F(-(max(x, y), min(x, y)), p(twice(min(x, y)))) at position [0] we obtained the following new rules:

F(s(x0), s(0)) → F(-(x0, min(x0, 0)), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(x0, min(0, x0)), p(twice(min(0, x0))))
F(s(s(x0)), s(s(x1))) → F(-(max(s(x0), s(x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(-(max(x0, 0), 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(max(0, x0), 0), p(twice(min(0, x0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
QDP
                                        ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(0), s(x0)) → F(-(x0, min(0, x0)), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(-(x0, min(x0, 0)), p(twice(min(x0, 0))))
F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), p(twice(min(s(x0), s(x1)))))
F(s(s(x0)), s(s(x1))) → F(-(max(s(x0), s(x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(0), s(x0)) → F(-(max(0, x0), 0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(-(max(x0, 0), 0), p(twice(min(x0, 0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x0), s(0)) → F(-(x0, min(x0, 0)), p(twice(min(x0, 0)))) at position [0,1] we obtained the following new rules:

F(s(x0), s(0)) → F(-(x0, 0), p(twice(min(x0, 0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
QDP
                                            ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(x0), s(0)) → F(-(x0, 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(x0, min(0, x0)), p(twice(min(0, x0))))
F(s(s(x0)), s(s(x1))) → F(-(max(s(x0), s(x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(-(max(x0, 0), 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(max(0, x0), 0), p(twice(min(0, x0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(0), s(x0)) → F(-(x0, min(0, x0)), p(twice(min(0, x0)))) at position [0,1] we obtained the following new rules:

F(s(0), s(x0)) → F(-(x0, 0), p(twice(min(0, x0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
QDP
                                                ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(0), s(x0)) → F(-(x0, 0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(-(x0, 0), p(twice(min(x0, 0))))
F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), p(twice(min(s(x0), s(x1)))))
F(s(s(x0)), s(s(x1))) → F(-(max(s(x0), s(x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(0), s(x0)) → F(-(max(0, x0), 0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(-(max(x0, 0), 0), p(twice(min(x0, 0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(x1))) → F(-(max(s(x0), s(x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1))))) at position [0,0] we obtained the following new rules:

F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
QDP
                                                    ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(-(x0, 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(x0, 0), p(twice(min(0, x0))))
F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(-(max(x0, 0), 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(max(0, x0), 0), p(twice(min(0, x0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), p(twice(min(s(x0), s(x1))))) at position [0,1] we obtained the following new rules:

F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
QDP
                                                        ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(0), s(x0)) → F(-(x0, 0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(-(x0, 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(max(0, x0), 0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(-(max(x0, 0), 0), p(twice(min(x0, 0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x0), s(0)) → F(-(max(x0, 0), 0), p(twice(min(x0, 0)))) at position [0] we obtained the following new rules:

F(s(x0), s(0)) → F(max(x0, 0), p(twice(min(x0, 0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
QDP
                                                            ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(max(x0, 0), p(twice(min(x0, 0))))
F(s(x0), s(0)) → F(-(x0, 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(x0, 0), p(twice(min(0, x0))))
F(s(0), s(x0)) → F(-(max(0, x0), 0), p(twice(min(0, x0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(0), s(x0)) → F(-(max(0, x0), 0), p(twice(min(0, x0)))) at position [0] we obtained the following new rules:

F(s(0), s(x0)) → F(max(0, x0), p(twice(min(0, x0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
QDP
                                                                ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(0), s(x0)) → F(max(0, x0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(max(x0, 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(-(x0, 0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(-(x0, 0), p(twice(min(x0, 0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x0), s(0)) → F(-(x0, 0), p(twice(min(x0, 0)))) at position [0] we obtained the following new rules:

F(s(x0), s(0)) → F(x0, p(twice(min(x0, 0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
QDP
                                                                    ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(max(x0, 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(max(0, x0), p(twice(min(0, x0))))
F(s(0), s(x0)) → F(-(x0, 0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(x0, p(twice(min(x0, 0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(0), s(x0)) → F(-(x0, 0), p(twice(min(0, x0)))) at position [0] we obtained the following new rules:

F(s(0), s(x0)) → F(x0, p(twice(min(0, x0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
QDP
                                                                        ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1)))))
F(s(0), s(x0)) → F(max(0, x0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(max(x0, 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(x0, p(twice(min(0, x0))))
F(s(x0), s(0)) → F(x0, p(twice(min(x0, 0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(x1))) → F(-(s(max(x0, x1)), s(min(x0, x1))), p(twice(min(s(x0), s(x1))))) at position [0] we obtained the following new rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(min(s(x0), s(x1)))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
QDP
                                                                            ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(max(x0, 0), p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(max(0, x0), p(twice(min(0, x0))))
F(s(x0), s(0)) → F(x0, p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(x0, p(twice(min(0, x0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x0), s(0)) → F(max(x0, 0), p(twice(min(x0, 0)))) at position [0] we obtained the following new rules:

F(s(x0), s(0)) → F(x0, p(twice(min(x0, 0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
QDP
                                                                                ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(min(s(x0), s(x1)))))
F(s(0), s(x0)) → F(max(0, x0), p(twice(min(0, x0))))
F(s(0), s(x0)) → F(x0, p(twice(min(0, x0))))
F(s(x0), s(0)) → F(x0, p(twice(min(x0, 0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(0), s(x0)) → F(max(0, x0), p(twice(min(0, x0)))) at position [0] we obtained the following new rules:

F(s(0), s(x0)) → F(x0, p(twice(min(0, x0))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
QDP
                                                                                    ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(x0, p(twice(min(x0, 0))))
F(s(0), s(x0)) → F(x0, p(twice(min(0, x0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x0), s(0)) → F(x0, p(twice(min(x0, 0)))) at position [1,0,0] we obtained the following new rules:

F(s(x0), s(0)) → F(x0, p(twice(0)))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
QDP
                                                                                        ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(min(s(x0), s(x1)))))
F(s(x0), s(0)) → F(x0, p(twice(0)))
F(s(0), s(x0)) → F(x0, p(twice(min(0, x0))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(0), s(x0)) → F(x0, p(twice(min(0, x0)))) at position [1,0,0] we obtained the following new rules:

F(s(0), s(x0)) → F(x0, p(twice(0)))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
QDP
                                                                                            ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(min(s(x0), s(x1)))))
F(s(0), s(x0)) → F(x0, p(twice(0)))
F(s(x0), s(0)) → F(x0, p(twice(0)))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(min(s(x0), s(x1))))) at position [1,0,0] we obtained the following new rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(s(min(x0, x1)))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
QDP
                                                                                                ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(s(min(x0, x1)))))
F(s(x0), s(0)) → F(x0, p(twice(0)))
F(s(0), s(x0)) → F(x0, p(twice(0)))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(x0), s(0)) → F(x0, p(twice(0))) at position [1,0] we obtained the following new rules:

F(s(x0), s(0)) → F(x0, p(0))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
QDP
                                                                                                    ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(s(min(x0, x1)))))
F(s(x0), s(0)) → F(x0, p(0))
F(s(0), s(x0)) → F(x0, p(twice(0)))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
QDP
                                                                                                        ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(s(min(x0, x1)))))
F(s(0), s(x0)) → F(x0, p(twice(0)))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(0), s(x0)) → F(x0, p(twice(0))) at position [1,0] we obtained the following new rules:

F(s(0), s(x0)) → F(x0, p(0))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
QDP
                                                                                                            ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(s(min(x0, x1)))))
F(s(0), s(x0)) → F(x0, p(0))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
QDP
                                                                                                                ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(twice(s(min(x0, x1))))) at position [1,0] we obtained the following new rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(s(s(twice(min(x0, x1))))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
QDP
                                                                                                                    ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(s(s(twice(min(x0, x1))))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), p(s(s(twice(min(x0, x1)))))) at position [1] we obtained the following new rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), s(twice(min(x0, x1))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
QDP
                                                                                                                        ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), s(twice(min(x0, x1))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
min(s(x), s(y)) → s(min(x, y))
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
min(0, y) → 0
min(x, 0) → 0
twice(0) → 0
twice(s(x)) → s(s(twice(x)))
p(s(x)) → x
max(0, y) → y
max(x, 0) → x

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [15] we can delete all non-usable rules [17] from R.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
QDP
                                                                                                                            ↳ QReductionProof

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), s(twice(min(x0, x1))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))
p(s(x0))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

p(s(x0))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
QDP
                                                                                                                                ↳ Narrowing

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), s(twice(min(x0, x1))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By narrowing [15] the rule F(s(s(x0)), s(s(x1))) → F(-(max(x0, x1), min(x0, x1)), s(twice(min(x0, x1)))) at position [1,0] we obtained the following new rules:

F(s(s(x0)), s(s(0))) → F(-(max(x0, 0), min(x0, 0)), s(twice(0)))
F(s(s(0)), s(s(x0))) → F(-(max(0, x0), min(0, x0)), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(s(x0), s(x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1)))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
QDP
                                                                                                                                    ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(0)), s(s(x0))) → F(-(max(0, x0), min(0, x0)), s(twice(0)))
F(s(s(x0)), s(s(0))) → F(-(max(x0, 0), min(x0, 0)), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(s(x0), s(x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(0))) → F(-(max(x0, 0), min(x0, 0)), s(twice(0))) at position [0,0] we obtained the following new rules:

F(s(s(x0)), s(s(0))) → F(-(x0, min(x0, 0)), s(twice(0)))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
QDP
                                                                                                                                        ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(0)), s(s(x0))) → F(-(max(0, x0), min(0, x0)), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(s(x0), s(x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1)))))
F(s(s(x0)), s(s(0))) → F(-(x0, min(x0, 0)), s(twice(0)))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(0)), s(s(x0))) → F(-(max(0, x0), min(0, x0)), s(twice(0))) at position [0,0] we obtained the following new rules:

F(s(s(0)), s(s(x0))) → F(-(x0, min(0, x0)), s(twice(0)))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
QDP
                                                                                                                                            ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(s(x0), s(x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1)))))
F(s(s(0)), s(s(x0))) → F(-(x0, min(0, x0)), s(twice(0)))
F(s(s(x0)), s(s(0))) → F(-(x0, min(x0, 0)), s(twice(0)))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(s(x0), s(x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1))))) at position [0,0] we obtained the following new rules:

F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1)))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
QDP
                                                                                                                                                ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(0))) → F(-(x0, min(x0, 0)), s(twice(0)))
F(s(s(0)), s(s(x0))) → F(-(x0, min(0, x0)), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(0))) → F(-(x0, min(x0, 0)), s(twice(0))) at position [0,1] we obtained the following new rules:

F(s(s(x0)), s(s(0))) → F(-(x0, 0), s(twice(0)))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
QDP
                                                                                                                                                    ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(0))) → F(-(x0, 0), s(twice(0)))
F(s(s(0)), s(s(x0))) → F(-(x0, min(0, x0)), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(0)), s(s(x0))) → F(-(x0, min(0, x0)), s(twice(0))) at position [0,1] we obtained the following new rules:

F(s(s(0)), s(s(x0))) → F(-(x0, 0), s(twice(0)))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
                                                                                                                                                  ↳ QDP
                                                                                                                                                    ↳ Rewriting
QDP
                                                                                                                                                        ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(0)), s(s(x0))) → F(-(x0, 0), s(twice(0)))
F(s(s(x0)), s(s(0))) → F(-(x0, 0), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), min(s(x0), s(x1))), s(twice(s(min(x0, x1))))) at position [0,1] we obtained the following new rules:

F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), s(min(x0, x1))), s(twice(s(min(x0, x1)))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
                                                                                                                                                  ↳ QDP
                                                                                                                                                    ↳ Rewriting
                                                                                                                                                      ↳ QDP
                                                                                                                                                        ↳ Rewriting
QDP
                                                                                                                                                            ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(0))) → F(-(x0, 0), s(twice(0)))
F(s(s(0)), s(s(x0))) → F(-(x0, 0), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), s(min(x0, x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(x0)), s(s(0))) → F(-(x0, 0), s(twice(0))) at position [0] we obtained the following new rules:

F(s(s(x0)), s(s(0))) → F(x0, s(twice(0)))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
                                                                                                                                                  ↳ QDP
                                                                                                                                                    ↳ Rewriting
                                                                                                                                                      ↳ QDP
                                                                                                                                                        ↳ Rewriting
                                                                                                                                                          ↳ QDP
                                                                                                                                                            ↳ Rewriting
QDP
                                                                                                                                                                ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

F(s(s(x0)), s(s(0))) → F(x0, s(twice(0)))
F(s(s(0)), s(s(x0))) → F(-(x0, 0), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), s(min(x0, x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
                                                                                                                                                  ↳ QDP
                                                                                                                                                    ↳ Rewriting
                                                                                                                                                      ↳ QDP
                                                                                                                                                        ↳ Rewriting
                                                                                                                                                          ↳ QDP
                                                                                                                                                            ↳ Rewriting
                                                                                                                                                              ↳ QDP
                                                                                                                                                                ↳ DependencyGraphProof
QDP
                                                                                                                                                                    ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(0)), s(s(x0))) → F(-(x0, 0), s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), s(min(x0, x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(0)), s(s(x0))) → F(-(x0, 0), s(twice(0))) at position [0] we obtained the following new rules:

F(s(s(0)), s(s(x0))) → F(x0, s(twice(0)))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
                                                                                                                                                  ↳ QDP
                                                                                                                                                    ↳ Rewriting
                                                                                                                                                      ↳ QDP
                                                                                                                                                        ↳ Rewriting
                                                                                                                                                          ↳ QDP
                                                                                                                                                            ↳ Rewriting
                                                                                                                                                              ↳ QDP
                                                                                                                                                                ↳ DependencyGraphProof
                                                                                                                                                                  ↳ QDP
                                                                                                                                                                    ↳ Rewriting
QDP
                                                                                                                                                                        ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

F(s(s(0)), s(s(x0))) → F(x0, s(twice(0)))
F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), s(min(x0, x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
                                                                                                                                                  ↳ QDP
                                                                                                                                                    ↳ Rewriting
                                                                                                                                                      ↳ QDP
                                                                                                                                                        ↳ Rewriting
                                                                                                                                                          ↳ QDP
                                                                                                                                                            ↳ Rewriting
                                                                                                                                                              ↳ QDP
                                                                                                                                                                ↳ DependencyGraphProof
                                                                                                                                                                  ↳ QDP
                                                                                                                                                                    ↳ Rewriting
                                                                                                                                                                      ↳ QDP
                                                                                                                                                                        ↳ DependencyGraphProof
QDP
                                                                                                                                                                            ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), s(min(x0, x1))), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(s(x0))), s(s(s(x1)))) → F(-(s(max(x0, x1)), s(min(x0, x1))), s(twice(s(min(x0, x1))))) at position [0] we obtained the following new rules:

F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(x0, x1), min(x0, x1)), s(twice(s(min(x0, x1)))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
                                                                                                                                                  ↳ QDP
                                                                                                                                                    ↳ Rewriting
                                                                                                                                                      ↳ QDP
                                                                                                                                                        ↳ Rewriting
                                                                                                                                                          ↳ QDP
                                                                                                                                                            ↳ Rewriting
                                                                                                                                                              ↳ QDP
                                                                                                                                                                ↳ DependencyGraphProof
                                                                                                                                                                  ↳ QDP
                                                                                                                                                                    ↳ Rewriting
                                                                                                                                                                      ↳ QDP
                                                                                                                                                                        ↳ DependencyGraphProof
                                                                                                                                                                          ↳ QDP
                                                                                                                                                                            ↳ Rewriting
QDP
                                                                                                                                                                                ↳ Rewriting

Q DP problem:
The TRS P consists of the following rules:

F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(x0, x1), min(x0, x1)), s(twice(s(min(x0, x1)))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.
By rewriting [15] the rule F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(x0, x1), min(x0, x1)), s(twice(s(min(x0, x1))))) at position [1,0] we obtained the following new rules:

F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(x0, x1), min(x0, x1)), s(s(s(twice(min(x0, x1))))))



↳ QTRS
  ↳ AAECC Innermost
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ UsableRulesProof
                  ↳ QDP
                    ↳ QReductionProof
                      ↳ QDP
                        ↳ Rewriting
                          ↳ QDP
                            ↳ Rewriting
                              ↳ QDP
                                ↳ Rewriting
                                  ↳ QDP
                                    ↳ Narrowing
                                      ↳ QDP
                                        ↳ Rewriting
                                          ↳ QDP
                                            ↳ Rewriting
                                              ↳ QDP
                                                ↳ Rewriting
                                                  ↳ QDP
                                                    ↳ Rewriting
                                                      ↳ QDP
                                                        ↳ Rewriting
                                                          ↳ QDP
                                                            ↳ Rewriting
                                                              ↳ QDP
                                                                ↳ Rewriting
                                                                  ↳ QDP
                                                                    ↳ Rewriting
                                                                      ↳ QDP
                                                                        ↳ Rewriting
                                                                          ↳ QDP
                                                                            ↳ Rewriting
                                                                              ↳ QDP
                                                                                ↳ Rewriting
                                                                                  ↳ QDP
                                                                                    ↳ Rewriting
                                                                                      ↳ QDP
                                                                                        ↳ Rewriting
                                                                                          ↳ QDP
                                                                                            ↳ Rewriting
                                                                                              ↳ QDP
                                                                                                ↳ Rewriting
                                                                                                  ↳ QDP
                                                                                                    ↳ DependencyGraphProof
                                                                                                      ↳ QDP
                                                                                                        ↳ Rewriting
                                                                                                          ↳ QDP
                                                                                                            ↳ DependencyGraphProof
                                                                                                              ↳ QDP
                                                                                                                ↳ Rewriting
                                                                                                                  ↳ QDP
                                                                                                                    ↳ Rewriting
                                                                                                                      ↳ QDP
                                                                                                                        ↳ UsableRulesProof
                                                                                                                          ↳ QDP
                                                                                                                            ↳ QReductionProof
                                                                                                                              ↳ QDP
                                                                                                                                ↳ Narrowing
                                                                                                                                  ↳ QDP
                                                                                                                                    ↳ Rewriting
                                                                                                                                      ↳ QDP
                                                                                                                                        ↳ Rewriting
                                                                                                                                          ↳ QDP
                                                                                                                                            ↳ Rewriting
                                                                                                                                              ↳ QDP
                                                                                                                                                ↳ Rewriting
                                                                                                                                                  ↳ QDP
                                                                                                                                                    ↳ Rewriting
                                                                                                                                                      ↳ QDP
                                                                                                                                                        ↳ Rewriting
                                                                                                                                                          ↳ QDP
                                                                                                                                                            ↳ Rewriting
                                                                                                                                                              ↳ QDP
                                                                                                                                                                ↳ DependencyGraphProof
                                                                                                                                                                  ↳ QDP
                                                                                                                                                                    ↳ Rewriting
                                                                                                                                                                      ↳ QDP
                                                                                                                                                                        ↳ DependencyGraphProof
                                                                                                                                                                          ↳ QDP
                                                                                                                                                                            ↳ Rewriting
                                                                                                                                                                              ↳ QDP
                                                                                                                                                                                ↳ Rewriting
QDP

Q DP problem:
The TRS P consists of the following rules:

F(s(s(s(x0))), s(s(s(x1)))) → F(-(max(x0, x1), min(x0, x1)), s(s(s(twice(min(x0, x1))))))

The TRS R consists of the following rules:

max(s(x), s(y)) → s(max(x, y))
max(0, y) → y
max(x, 0) → x
min(s(x), s(y)) → s(min(x, y))
min(0, y) → 0
min(x, 0) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
twice(0) → 0
twice(s(x)) → s(s(twice(x)))

The set Q consists of the following terms:

min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
max(0, x0)
max(x0, 0)
max(s(x0), s(x1))
twice(0)
twice(s(x0))
-(x0, 0)
-(s(x0), s(x1))

We have to consider all minimal (P,Q,R)-chains.